<include file='Public/payheader' />
	 <style >
	   #mainbody{
			width:80%;
			margin-left:10%;
	   }
		#tright{
			float:left;
			margin-left:240px;
		}
		.p1{
			float:left;
			margin-left:0px;
			margin-top:24px;
		}
		.p2{
			float:left;
			margin-left:0px;
			margin-top:28px;
		}
		.p3{
			float:left;
			margin-left:0px;
			margin-top:22px;
		}
		#bottom{
			width:100%;
			margin-left:75%;
		}
		.address{
			width:100%;
			height:50px;
			line-height:50px;
			background-color:Gainsboro;
		}
		.loca{
			width:500px;
		}
		.btn{
			
		}
		#show{
			width:100%;
			border:1px solid grey;
			display:none;
		}
		#but-t{
			width:200px;
			height:50px;
			background-color:red;
		}
		#but-t:hover{
			background-color:green;
		}
		#content{
			width:100%;
			border:1px solid green;
		}
		#spay{
			font-size:35px;
			color:red;
		}
     </style>
<!--头部-->
<div id="top">
	<span id="tleft">
		<img src="__PUBLIC__/assest/image/shoplogo.jpg" width="300px">	
	</span>
	<span id="tright" align="center">
		<div class="p1"><img src="__PUBLIC__/assest/image/icon/05.png" width="80px"><p>我的购物车</p></div>
		<div class="p2"><img src="__PUBLIC__/assest/image/icon/06.png" width="100px"><p>确认订单</p></div>
		<div class="p2"><img src="__PUBLIC__/assest/image/icon/06.png" width="100px"><p>成功提交订单</p></div>
		<div class="p3"><img src="__PUBLIC__/assest/image/icon/07.png" width="80px"><p>付款成功</p></div>
	</span>
<hr width="100%" style="margin-top:-5px;border:2px solid white;">
<hr width="100%" style="margin-top:-5px;border:2px solid green;">
</div>

<div id="mainbody">
	<div id="content">
	<table class="table">
	<tr><th>商品名称</th><th>规格</th><th>价格</th><th>数量</th><th>金额</th></tr>
	<volist name="list" id="vo">
	<?php $picpath=str_replace("thumb_","",$vo['pic']);	?>
	<tr>
	<td><a href="{:U('List/showgood',array('id'=>$vo[gid]))}"><img src='__PUBLIC__/photo/{$picpath}' 
	width="80px">{$vo.gname}</a></td>
	<td>{$vo.danwei}/份</td>
	<td><p id="p{$vo.gid}">{$vo.price}元</p></td>
	<td><p>{$vo.num}</p></td>
	<td><p id="t{$vo.gid}">{$vo.total}元</p></td>
	</tr>					
	</volist>
	</table>
	<hr>
	<volist name="dingdan" id="vo">
		<div class="address">
		收货地址:{$vo.receiver}&nbsp({$vo.address})&nbsp{$vo.phone}
		</div>
		<hr>
		</volist>
	<div id="bottom">
		商品金额<p id="goodpricies">{$allprice}元</p>
	</div>
	<p id="spay">支付成功！</p>
	 <a href="{:U('Index/index')}">回到首页</a>
	</div>	
</div>
<include file='Public/footer' />
</body>

</html>